﻿namespace ScrumFactory.Data
{
    using System.Collections.Generic;

    public interface IBacklogRepository
    {
        ICollection<BacklogItem> GetCurrentBacklog(string projectId);

        ICollection<BacklogItem> GetBacklog(string projectId);

        ScrumFactory.BacklogItem GetBacklogItem(string backlogItemId);

        void SaveBacklogItem(BacklogItem item);

        void SaveBacklogItemIgnoreHours(BacklogItem item);

        void DeleteBacklogItem(string backlogItemId);
        
    }
}
